<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/Website/" />
<title>FlightStatsSC6</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">FlightStatsSC6</td></tr>
</thead><tbody>
<!--Created by Steven Chow-->
<!--Scenario 6: Flight Stats not displayed-->
<!--Test Case 1: No data present-->
<!--Go to website-->
<tr>
	<td>open</td>
	<td>/Website/</td>
	<td></td>
</tr>
<!--Login as an Admin-->
<tr>
	<td>clickAndWait</td>
	<td>css=div.tile.bg-color-yellow &gt; div.tile-content.icon</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name=id</td>
	<td>1</td>
</tr>
<tr>
	<td>type</td>
	<td>name=password</td>
	<td>pass0</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<!--Check if we are on the Manager Portal-->
<tr>
	<td>assertTitle</td>
	<td>Manager Portal</td>
	<td></td>
</tr>
<!--Check if the "Flight Statistics" Button is present-->
<tr>
	<td>assertElementPresent</td>
	<td>css=div.tile-content.icon</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=div.tile-content.icon</td>
	<td></td>
</tr>
<!--Check if we are on the Stats Page-->
<tr>
	<td>assertTitle</td>
	<td>Statistics</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Seat Class Stats</td>
	<td></td>
</tr>
<!--Check for a Message-->
<tr>
	<td>assertTextPresent</td>
	<td>No Data To Display. No Reservations are made.</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Meal Stats</td>
	<td></td>
</tr>
<!--Check for a Message-->
<tr>
	<td>assertTextPresent</td>
	<td>No Data To Display. No Reservations are made.</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Customer Stats</td>
	<td></td>
</tr>
<!--Check for a Message-->
<tr>
	<td>assertTextPresent</td>
	<td>No Data To Display. No Reservations are made.</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Flight Stats</td>
	<td></td>
</tr>
<!--Check for a Message-->
<tr>
	<td>assertTextPresent</td>
	<td>No Data To Display. No Reservations are made.</td>
	<td></td>
</tr>
<!---->
<!---->
</tbody></table>
</body>
</html>
